<link rel="stylesheet" href="__CDN__/assets/addons/sum/libs/element/element.css">
<style>
    #storeDetail {
        background: #fff;
        border-radius: 10px 10px 0px 0px;
        height: calc(100vh - 66px);
        color: #666;
        font-weight: 500;
    }

    .sum-select-item-page .pagination {
        margin: 0;
    }
    .btn-common {
        width: 88px;
        height: 32px;
        line-height: 30px;
        border-radius: 4px;
        font-size: 12px;
        text-align: center;
        cursor: pointer;
        display: inline-block;
    }
    .display-flex {
        display: flex;
        align-items: center;
    }
    .el-radio__input.is-checked+.el-radio__label,
    .el-checkbox__input.is-checked+.el-checkbox__label {
        color: #7438D5;
    }

    .el-radio__input.is-checked .el-radio__inner,
    .el-checkbox__input.is-checked .el-checkbox__inner,
    .el-checkbox__input.is-indeterminate .el-checkbox__inner {
        background: #7438D5;
        border-color: #7438D5;
    }


    label {
        margin-bottom: 0;
    }


    .form-bodys {
        height: calc(100vh - 100px);
        overflow-y: auto;
        padding-right: 20px;
    }

    .form-bodys::-webkit-scrollbar {
        width: 6px;
    }

    .form-bodys::-webkit-scrollbar-thumb {
        width: 6px;
        background: #e6e6e6;
        height: 20px;
        border-radius: 3px;
    }

    .page-footer {
        padding: 20px 10px 0;
        justify-content: flex-end;
    }

    .footer-btn-1 {
        color: #7438D5;
        line-height: 36px;
    }

    .footer-btn-2 {
        width: 90px;
        height: 36px;
        background: #7438D5;
        border-radius: 4px;
        font-size: 16px;
        color: #fff;
        line-height: 36px;
        border-radius: 18px;
    }
    .input-with-select .el-input-group__prepend {
        width: 90px;
        vertical-align: middle;
    }
    .input-with-select .el-input-group__append {
        width: 120px;
        vertical-align: middle;
    }
    [v-cloak] {
        display: none
    }
</style>
<script src="__CDN__/assets/addons/sum/libs/vue.js"></script>
<script src="__CDN__/assets/addons/sum/libs/element/element.js"></script>
<script src="__CDN__/assets/addons/sum/libs/Sortable.min.js"></script>
<script src="__CDN__/assets/addons/sum/libs/vuedraggable.js"></script>
<script src="__CDN__/assets/addons/sum/libs/moment.js"></script>

<div id="storeDetail" v-cloak>
    <div class="form-bodys">
        <el-form :model="storeForm" ref="storeForm" label-width="114px" class="demo-storeForm">

            <el-form-item label="筛选区域：" prop="store_address">
                <div class="display-flex">
                    <el-cascader v-model="storeForm.store_address" separator="-" :props="{value:'name'}"
                                 :options="areaOptions" >
                    </el-cascader>
                </div>
            </el-form-item>
            <el-form-item label="行政级别：" prop="pcd_level">
                <el-radio-group v-model="storeForm.pcd_level">
                    <el-radio :label="1">按省修改</el-radio>
                    <el-radio :label="2">按市修改</el-radio>
                    <el-radio :label="3">按区修改</el-radio>
                </el-radio-group>
            </el-form-item>

            <el-form-item label="价格：" prop="price">
                <el-input type="number" placeholder="请输入价格" v-model="storeForm.price" class="input-with-select">
                    <el-select v-model="storeForm.fuel_type" slot="prepend" placeholder="请选择" >
                        <el-option v-for="item in fuelTypeList" :key="item.slug" :label="item.title" :value="item.slug"></el-option>
                    </el-select>
                    <el-select v-model="storeForm.price_type" slot="append" placeholder="请选择" >
                        <el-option label="指导价" value="original_price"></el-option>
                        <el-option label="特价平台价" value="price"></el-option>
                        <el-option label="成本价" value="chengben_price"></el-option>
                        <el-option label="特价成本价" value="tjchengben_price"></el-option>
                        <el-option label="挂机价" value="guaji_price"></el-option>
                    </el-select>
                </el-input>
            </el-form-item>
        </el-form>
    </div>
    <div class="page-footer display-flex">
        <div @click="storeSub" class="btn-common footer-btn-1">取消</div>
        <div @click="storeSub('yes','storeForm')" class="btn-common footer-btn-2">确定</div>
    </div>
</div>